package net.ak.controller;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.servlet.ModelAndView;

@Controller
public class LoginController {

	@RequestMapping(value = "/login", method = RequestMethod.GET)
	public ModelAndView login(HttpServletRequest request, HttpServletResponse response) {
		ModelAndView mv = new ModelAndView("login");

		return mv;
	}
	
	@RequestMapping(value = "/register", method = RequestMethod.GET)
	public ModelAndView register(HttpServletRequest request, HttpServletResponse response) {
		ModelAndView mv = new ModelAndView("register");

		return mv;
	}
	
	@RequestMapping(value = "/password-reset", method = RequestMethod.GET)
	public ModelAndView resetPassword(HttpServletRequest request, HttpServletResponse response) {
		ModelAndView mv = new ModelAndView("password-reset");

		return mv;
	}
	
	@RequestMapping(value = "/end-password-reset", method = RequestMethod.GET)
	public ModelAndView resetPasswordEnd(HttpServletRequest request, HttpServletResponse response) {
		ModelAndView mv = new ModelAndView("end-password-reset");

		return mv;
	}
}
